package com.youlu.campus.admin.card.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author : [dengbo]
 * @className : CardGoodsSaveDTO
 * @description : [描述说明该类的功能]
 * @createTime : [2022/12/17 14:27]
 */
@Data
public class CardGoodsSaveDTO {
    private String id;
    @NotBlank(message = "一级分类不能为空")
    private String firstCateId;
    @NotBlank(message = "二级分类不能为空")
    private String secondCateId;
    @NotBlank(message = "商品类型不能为空")
    private String goodsType;
    @NotBlank(message = "商品名称不能为空")
    private String goodsName;
    @NotBlank(message = "三方编码不能为空")
    private String thirdGoodsCode;
    private Integer price;
    private Integer salePrice;
    private Integer officialPrice;
    private Integer maxQuantity;
    private Integer status;
    private Integer priority = 0;
    private Boolean onSale;
}
